﻿<controls:ChildWindow x:Class="SMS.Views.ResetPasswordChildWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Height="270" Width="455"
                      Style="{StaticResource ChildWindowStyle}"
           Title="Reset Password">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <TextBlock Text="Current Password: " Margin="23,21,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" ></TextBlock>
            <PasswordBox x:Name="txt_CurrentPwd" Password="{Binding CurrentPassword, Mode=TwoWay}" Margin="220,21,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"  Width="194"/>
            <TextBlock Text="New Password: " Margin="23,61,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" ></TextBlock>
            <PasswordBox x:Name="txt_NewPwd" Password="{Binding NewPassword, Mode=TwoWay}" Margin="220,61,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="194"/>
            <TextBlock Text="Confirm New Password: " Margin="23,101,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" ></TextBlock>
            <PasswordBox x:Name="txt_ConfirmNewPwd" Password="{Binding ConfirmNewPassword, Mode=TwoWay}"  Margin="220,101,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="194"/>
        </Grid>
        <Grid Grid.Row="1">
            <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="80" HorizontalAlignment="Right" Margin="0,12,17,0" />
            <Button x:Name="OKButton" Command="{Binding OkButtonCommand}"  Content="Ok" Click="OKButton_Click" Width="80"  HorizontalAlignment="Left" Margin="251,12,0,0"  />
        </Grid>
    </Grid>
</controls:ChildWindow>